import 'package:flutter/material.dart';
import 'package:flutter_repo/chapter06/unit03/test_list_view/list_view01.dart';
import 'package:flutter_repo/chapter06/unit03/test_list_view/list_view03.dart';
import 'package:flutter_repo/chapter06/unit03/test_list_view/list_view04.dart';
import 'package:flutter_repo/widgets/cell.dart';

import 'list_view02.dart';

class TestListViewPage extends StatelessWidget {
  const TestListViewPage({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: const Text("Test list view"),),
      body: ListView(
        children: const [
          Cell(title: "list view 01", routePage: ListView01(),),
          Cell(title: "list view 02", routePage: ListView02(),),
          Cell(title: "list view 03", routePage: ListView03(),),
          Cell(title: "list view 04", routePage: ListView04(),),
        ],
      ),
    );
  }
}